const JQTableImplement = require('../implement.js');
const TABLE_NAME='cb_category';
const PRIMARY_KEY='id';
const UNIQUES=['uuid'];
const KEYS=[
	'id',// int(11) AI PK 
	'name',// varchar(45) 
	'parent_id',// int(11) 
	'status',// int(4)
	'img',
    ];


class JQCategoryTable extends JQTableImplement {
    constructor(conn) {
		if(!conn)console.log('table order conn isserror')
		super(conn,TABLE_NAME,KEYS,PRIMARY_KEY,UNIQUES);
       // super.name = name;
    }
	
}

module.exports = JQCategoryTable;